Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modifications to support additional offload builds #527

Merged
merged 1 commit into from
Jul 15, 2021
Merged

Conversation

mewall
Copy link
Collaborator

@mewall mewall commented Jul 13, 2021

Revised the code to build on ORNL spock and Cray/HPE tulip:

o Use the same offload code path for CRAY_SDK macro as for INTEL_SDK macro
o Modify bml_add_norm_ellpack() and bml_add_identity_ellpack()
to follow similar syntax as in bml_add_ellpack()

  • Note: Tests needed for bml_add_norm_ellpack() and bml_add_identity_ellpack()
    o Create a typed bml_deallocate_ellpack() (see issue Create a typed deallocator in bml_allocate_ellpack.c #524)
    o Add scripts for building on spock
  • scripts/setenv_spock_offload.sh
  • scripts/build_spock_offload_cce.sh
    o Add scripts for building on tulip
  • scripts/setenv_tulip_offload.sh
  • scripts/build_tulip_offload_cce.sh

#!/bin/bash

module load craype-accel-amd-gfx908
#module unload cray-mvapich2 cray-libsci
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why keep all theses commented out modules?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments have been removed.

Revised the code to build on ORNL spock and Cray/HPE tulip:

o Use the same offload code path for CRAY_SDK macro as for INTEL_SDK macro
o Modify bml_add_norm_ellpack() and bml_add_identity_ellpack()
to follow similar syntax as in bml_add_ellpack()
  - Note: Tests needed for bml_add_norm_ellpack() and bml_add_identity_ellpack()
o Create a typed bml_deallocate_ellpack() (see issue #524)
o Add scripts for building on spock
  - scripts/setenv_spock_offload.sh
  - scripts/build_spock_offload_cce.sh
o Add scripts for building on tulip
  - scripts/setenv_tulip_offload.sh
  - scripts/build_tulip_offload_cce.sh
@cnegre cnegre merged commit d246444 into master Jul 15, 2021
@cnegre cnegre deleted the tulip_offload branch July 15, 2021 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants